#!/usr/bin/bash

rpm -q rsyslog >/dev/null 2>&1 && echo 'pass' || echo 'fail'